﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/FTS.STIS.VMS.VmsCenter.Models.Status" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/FTS.STIS.VMS.VmsCenter.Models.Status" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/FTS.STIS.VMS.VmsCenter.Models" />
  <xs:complexType name="VmsDeviceStatus">
    <xs:sequence>
      <xs:element minOccurs="0" name="Connected" type="xs:boolean" />
      <xs:element minOccurs="0" name="MemoryInfo" nillable="true" type="tns:VmsMemoryInfo" />
      <xs:element minOccurs="0" name="ScreenData" nillable="true" type="xs:base64Binary" />
      <xs:element minOccurs="0" name="Sensors" nillable="true" type="tns:ArrayOfVmsSensor" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="VmsDeviceStatus" nillable="true" type="tns:VmsDeviceStatus" />
  <xs:complexType name="VmsMemoryInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="AvaibleSpace" type="xs:int" />
      <xs:element minOccurs="0" name="Status" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="VmsMemoryInfo" nillable="true" type="tns:VmsMemoryInfo" />
  <xs:complexType name="ArrayOfVmsSensor">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="VmsSensor" nillable="true" type="tns:VmsSensor" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfVmsSensor" nillable="true" type="tns:ArrayOfVmsSensor" />
  <xs:complexType name="VmsSensor">
    <xs:sequence>
      <xs:element minOccurs="0" name="Data" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="VmsSensor" nillable="true" type="tns:VmsSensor" />
  <xs:simpleType name="VmsWarningEnum">
    <xs:restriction base="xs:string">
      <xs:enumeration value="WARNING_TOO_HOT" />
      <xs:enumeration value="WARNING_TOO_COLD" />
      <xs:enumeration value="WARNING_TOO_WET" />
      <xs:enumeration value="WARNING_TOO_DRY" />
      <xs:enumeration value="WARNING_OPENED" />
      <xs:enumeration value="WARNING_OUT_OF_POWER" />
      <xs:enumeration value="WARNING_DAMAGED" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="VmsWarningEnum" nillable="true" type="tns:VmsWarningEnum" />
  <xs:complexType name="VmsResponse">
    <xs:sequence>
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/FTS.STIS.VMS.VmsCenter.Models" minOccurs="0" name="Type" type="q1:VmsSystemCommandEnum" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="VmsResponse" nillable="true" type="tns:VmsResponse" />
  <xs:complexType name="VmsGetInfoResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:VmsResponse">
        <xs:sequence>
          <xs:element minOccurs="0" name="PayLoad" nillable="true" type="tns:VmsDeviceInfo" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="VmsGetInfoResponse" nillable="true" type="tns:VmsGetInfoResponse" />
  <xs:complexType name="VmsDeviceInfo">
    <xs:sequence />
  </xs:complexType>
  <xs:element name="VmsDeviceInfo" nillable="true" type="tns:VmsDeviceInfo" />
  <xs:complexType name="VmsCheckLedResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:VmsResponse">
        <xs:sequence>
          <xs:element minOccurs="0" name="PayLoad" nillable="true" type="xs:base64Binary" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="VmsCheckLedResponse" nillable="true" type="tns:VmsCheckLedResponse" />
  <xs:complexType name="VmsGetStatusResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:VmsResponse">
        <xs:sequence>
          <xs:element minOccurs="0" name="PayLoad" nillable="true" type="tns:VmsDeviceStatus" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="VmsGetStatusResponse" nillable="true" type="tns:VmsGetStatusResponse" />
  <xs:complexType name="VmsCaptureScreenResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:VmsResponse">
        <xs:sequence>
          <xs:element minOccurs="0" name="PayLoad" nillable="true" type="xs:base64Binary" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="VmsCaptureScreenResponse" nillable="true" type="tns:VmsCaptureScreenResponse" />
</xs:schema>